package com.pay.mapper.auto;

import com.pay.model.auto.OmniTransactionRes;
import com.pay.model.auto.OmniTransactionResExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * omni交易事务
 *
 * @author fuce
 * @email 87766867@qq.com
 * @date 2019-08-07 13:05:22
 */
public interface OmniTransactionResMapper {
    long countByExample(OmniTransactionResExample example);

    int deleteByExample(OmniTransactionResExample example);
    
        int deleteByPrimaryKey(String id);
    
    int insert(OmniTransactionRes record);

    int insertSelective(OmniTransactionRes record);

    List<OmniTransactionRes> selectByExample(OmniTransactionResExample example);
    
        OmniTransactionRes selectByPrimaryKey(String id);
    
    int updateByExampleSelective(@Param("record") OmniTransactionRes record, @Param("example") OmniTransactionResExample example);

    int updateByExample(@Param("record") OmniTransactionRes record, @Param("example") OmniTransactionResExample example);
    
        int updateByPrimaryKeySelective(OmniTransactionRes record);

        int updateByPrimaryKey(OmniTransactionRes record);
    
}
